Remove unused #defines.
authorSteven Hand <steven@xensource.com>
Fri, 29 Dec 2006 13:02:19 +0000 (13:02 +0000)
committerSteven Hand <steven@xensource.com>
Fri, 29 Dec 2006 13:02:19 +0000 (13:02 +0000)
Signed-off-by: Steven Hand <steven@xensource.com>
tools/libxc/xg_save_restore.h

index 0000eb7843027d02d0f8a69ada2fe9697c89e83d..00d0753defd18a5363b267afe7506bf504fa11ea 100644 (file)
@@ -101,12 +101,6 @@ static int get_platform_info(int xc_handle, uint32_t dom,
 /* Number of entries in the pfn_to_mfn_frame_list_list */
 #define P2M_FLL_ENTRIES (((max_pfn)+(fpp*fpp)-1)/(fpp*fpp))
 
-/* Current guests allow 8MB 'slack' in their P2M */
-#define NR_SLACK_ENTRIES   ((8 * 1024 * 1024) / PAGE_SIZE)
-
-/* Is the given PFN within the 'slack' region at the top of the P2M? */
-#define IS_REAL_PFN(_pfn)  ((max_pfn - (_pfn)) > NR_SLACK_ENTRIES)
-
 /* Returns TRUE if the PFN is currently mapped */
 #define is_mapped(pfn_type) (!((pfn_type) & 0x80000000UL))